namespace FS.Common.DotNetBean
{
    public class SessionUser
    {
        public object UserId
        {
            get;
            set;
        }

        public object UserAccount
        {
            get;
            set;
        }

        public object UserPwd
        {
            get;
            set;
        }

        public object UserName
        {
            get;
            set;
        }

        public object UserIP
        {
            get;
            set;
        }

        public string UserDispName { get; set; }
        public string isViewAll { get; set; }
        public string isViewSupply { get; set; }
        public string isViewPrice { get; set; }
        public string isViewCost { get; set; }

        public SessionUser(object userId, object userAccount, object userPwd, object userName, string userip,
            string viewall, string viewSupply,string viewPrice, string viewCost)
        {
            this.UserId = userId;
            this.UserAccount = userAccount;
            this.UserName = userName + "(" + userAccount + ")";
            this.UserDispName = userName.ToString();
            this.UserPwd = userPwd;
            this.UserIP = userip;
            this.isViewAll = viewall;
            this.isViewSupply = viewSupply;
            this.isViewPrice = viewPrice;
            this.isViewCost = viewCost;
        }
        
        public SessionUser()
        {
        }
    }
}